package cn.edu.ncut.cs.springboot.petmanagementsystem.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * 寄养记录VO
 */
@Data
public class FosterRecordVO {
    private Long id;
    private String reservationNo;
    private Long petId;
    private String petName;
    private String petBreed;
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
    
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime reservationTime;
    
    private Integer days;
    private BigDecimal pricePerDay;
    private BigDecimal totalPrice;
    private String phone;
    private String remark;
    private Integer reservationStatus;
    private String status;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
